package top.lichunsheng.minio;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root(name = "Initiator", strict = false)
public class CustomInitiator {
    @Element(name = "ID")
    private String id;

    @Element(name = "DisplayName", required = false)
    private String displayName;

    public CustomInitiator() {
    }

    /**
     * Returns initiator ID.
     */
    public String id() {
        return id;
    }

    /**
     * Returns initiator display name.
     */
    public String displayName() {
        return displayName;
    }
}
